﻿niggles.Register({
    Initialise: function (niggles) {
        var me = this;
        niggles._snippets.editItem.Execute = function () { return me.Execute(niggles, $(niggles._snippets.editItem)) };
    },
    Execute: function (niggles, editItemSnippet) {
        var me = this;
        var control = $(editItemSnippet.html());

        return control;
    },
    PostExecute: function (niggles, control) {
        control.remove();
    }
});